Initiates a workflow definition of the current document object.
Syntax
StartWorkflow(Workflow As String, [Transition], [Comments], [TodoPersons], [Managers])
Name | Description |
---|---|
Workflow |
The name of the workflow definition to initiate. |
Transition |
Optional name of a transition to execute. |
Comments |
Optional comments to add to the document’s Comments property. |
ToDoPersons |
Optional user names of the to-do persons. |
Managers |
Optional user names of the workflow managers. |
Remarks
For events to occur for this method, the CWFEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y (default).
Related concepts